package com.group2.equipment.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.group2.equipment.entity.EquipmentInfo;
import com.group2.equipment.utils.PageRequest;

import java.util.List;

public interface EquipmentInfoService extends IService<EquipmentInfo> {

    /**
     * 条件+分页 查询设备信息
     * @param req
     * @return
     */
    PageInfo<EquipmentInfo> queryPageByCondition(PageRequest<EquipmentInfo> req);

    /**
     * 批量删除设备
     * @param idList id 删除
     * @return
     */
    boolean deleteEquimentInfo(List<Integer> idList);
}
